﻿using System;
using System.ComponentModel;
using MugenMvvmToolkit.Annotations;
using MugenMvvmToolkit.Attributes;

namespace MugenMvvmToolkit.Interfaces.Views
{
    /// <summary>
    /// Represent the base interface for child windows view.
    /// </summary>
    [BaseView(ViewTypeName = "System.Windows.Controls.ChildWindow")]
    public interface IChildWindowView : IWindowViewBase
    {
#if WPF
        /// <summary>
        /// Occurred on closing.
        /// </summary>
        event CancelEventHandler Closing;
#else
        /// <summary>
        /// Occurred on closing.
        /// </summary>
        event EventHandler<CancelEventArgs> Closing;
#endif

    }
}